﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WorkFlow_WFProcess_WFOpinionTemplate" Codebehind="WFOpinionTemplate.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>意见模板</title>
    <base target="_self"></base>
    <meta http-equiv="Pragma" content="no-cache" />
   <meta http-equiv="Cache-Control" content="no-cache"/>
   <meta http-equiv="Expires" content="0"/>  
    <script language="javascript" type="text/javascript" src="../js/GridCheckBox.js"></script>
     <style type="text/css">
        body
        {
            font-size:12px;
        }
        </style>
        <link href="../Styles/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="t1" >
          <thead><th>
              意见模板信息
          </th></thead></table>
    <table width="100%" cellspacing="0" cellpadding="0" > 
    <tr><td align="right">
        <asp:Button ID="btnDelete" runat="server" Text="删 除"  class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" OnClientClick="return mCanDelete('chkID','请选择要删除的记录！');" OnClick="btnDelete_Click"/>
        </td>
    </tr>
</table>
<div style="overflow-x:hidden;overflow-y:scroll;width:100%;height:200px;text-align:center">
<table width="96%"  border="1" cellspacing="0" cellpadding="1" id="tGrid"  class="t1" >
  <thead>
    <th style="width:30px" align="center" >
        <input type="checkbox" name="chkAll" value="checkbox" onclick='javascript:mCheckAll(this,"chkID")' />
    </th>
    <th align="center">意见</th>
    <th style="width:80px" align="center">操作</th>
  </thead>  
  <asp:Repeater ID="Repeater1" runat="server" >
  <ItemTemplate>
  
  <tr>
    <td align="center" >
        <input type="checkbox" name="chkID" id="chk<%# DataBinder.Eval(Container.DataItem,"ID") %>"  value="<%# DataBinder.Eval(Container.DataItem,"ID") %>" >
    </td>
    <td align="left"><%# DataBinder.Eval(Container.DataItem, "Opinion")%></td>
    <td align="center">
        <%# WorkflowApply.WFScript.GetDataItemDeleteButton(DataBinder.Eval(Container.DataItem,"ID")+"",btnDelete) %>
        <a href="#" onclick = "window.returnValue='<%# DataBinder.Eval(Container.DataItem,"Opinion")+"" %>';window.close();">导入</a>
    </td>
  </tr>
  </ItemTemplate>
  </asp:Repeater>
</table>
</div>
<table width="100%">
<tr>
<td align="center">
    <asp:Button ID="Button1" runat="server" Text="退出" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'"  OnClientClick="window.returnValue='';window.close();" /></td>
</tr>
</table>
    </form>
    <script language="javascript" type="text/javascript">
    if(window.returnValue == null)
    {
        window.returnValue='';
    }
    </script>
</body>
</html>
